import { IListResponse, IParams } from './type';
import { defHttp } from '/@/utils/http/axios';

enum Api {
  List = '',
}

export const ListApi = (params: IParams) => defHttp.get<IListResponse>({ url: Api.List, params });
